<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="java.util.List" %>
<%@ page import="org.sample.sss.pojo.Resume" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    List<Resume> resumes = (List<Resume>)request.getAttribute("resumes");
%>
<html>
<head>
    <title>list page</title>
    <script type="text/javascript">
        function add(){
            document.getElementById("form1").submit();
        }

        function back(){
            window.history.go(-1);
        }
    </script>
</head>
<body>

<form id="form1" action="/resume/add" method="POST">

    <table>
        <tr>
            <td>姓名</td>
            <td><input id="name" name="name" value=""></td>
        </tr>
        <tr>
            <td>电话</td>
            <td><input id="phone" name="phone" value=""></td>
        </tr>
        <tr>
            <td>地址</td>
            <td><input id="address" name="address" value=""></td>
        </tr>
        <tr>
            <td><input type="button" onclick="add()" value="提交" /></td>
            <td><input type="button" onclick="back()" value="返回" /></td>
        </tr>
    </table>
</form>
</body>
</html>